package com.exam.service.serviceImpl;

import com.exam.entity.PaperResult;
import com.exam.mapper.PaperResultMapper;
import com.exam.service.PaperResultService;

import java.util.List;

public class PaperResultServiceImpl implements PaperResultService {
    private PaperResultMapper paperResultMapper;

    public void setPaperResultMapper(PaperResultMapper paperResultMapper) {
        this.paperResultMapper = paperResultMapper;
    }

    @Override
    public int add_user_paper_result(PaperResult paperResult) {
        return paperResultMapper.add_user_paper_result(paperResult);
    }

    @Override
    public int update_user_paper_result_by_eu_id(PaperResult paperResult) {
        return paperResultMapper.update_user_paper_result_by_eu_id(paperResult);
    }

    @Override
    public List<PaperResult> get_no_review_exam() {
        return paperResultMapper.get_no_review_exam();
    }
}
